package com.wsq.androidreviewdemo;

/**
 * Date:2022/7/1
 * Time:19:11
 * author:wushengqi
 */
class DoulbeCheck {

    private static volatile DoulbeCheck doulbeCheck;

    private DoulbeCheck(){}

    public static DoulbeCheck getInstance(){
        if (doulbeCheck == null){
            synchronized (DoulbeCheck.class){
                if (doulbeCheck == null){
                    doulbeCheck = new DoulbeCheck();
                }
            }
        }

        return doulbeCheck;
    }

    public static void main(String[] args) {

    }
}
